#ifndef _S_DEBUG_MSG_HANDLE_H_
#define _S_DEBUG_MSG_HANDLE_H_


typedef enum
{
//    S_DBG_MSG_CMD_doSetScanPhy_0 = 0x00,
//    S_DBG_MSG_CMD_doSetScanPhy_1 = 0x01,
//
//    S_DBG_MSG_CMD_doDiscover_0 = 0x02,
//    S_DBG_MSG_CMD_doDiscover_1 = 0x03,
//    S_DBG_MSG_CMD_doDiscover_0_Forever = 0x04,
//    S_DBG_MSG_CMD_doDiscover_1_Forever = 0x05,
//
//    S_DBG_MSG_CMD_doStopDiscover_0 = 0x06,
//    S_DBG_MSG_CMD_doStopDiscover_1 = 0x07,
//
//    S_DBG_MSG_CMD_doConnect = 0x08,
//    S_DBG_MSG_CMD_doConnect_UserAddr = 0x09
    
    S_DBG_MSG_CMD_doDiscover = 0x00,
    S_DBG_MSG_CMD_selDevice = 0x01,
    S_DBG_MSG_CMD_connect2Device = 0x02,
    S_DBG_MSG_CMD_Devicedisconnect = 0x03,
    S_DBG_MSG_CMD_getConnectedDeviceInfo = 0x04,
    S_DBG_MSG_CMD_readRSSI = 0x05,
    S_DBG_MSG_CMD_doRead = 0x06,
    S_DBG_MSG_CMD_doWrite = 0x07,
    S_DBG_MSG_CMD_switchNotify = 0x08,
    S_DBG_MSG_CMD_doTest = 0x09,

    S_DBG_MSG_CMD_connect2DeviceWhiteList = 0x10,
    S_DBG_MSG_CMD_listRssi = 0x11,

    
    S_DBG_MSG_CMD_connect2Device_byGiven = 0x30,        //Data format is mac[0:5]
    S_DBG_MSG_CMD_connect2DeviceType_byGiven = 0x31,    //Data format is type, mac[0:5]

    //This is a notify from system while the uuid and handle found
    S_DBG_MSG_SYSTEM_BLE_ServiceFinished = 0x50
}S_DBG_MSG_UserCommand;


extern signed char S_Debug_MSG_Handle(unsigned char *data, unsigned short len);

#endif
